import Vue from 'vue'
import App from './App.vue'

//引入ElementUI组件库  --全局引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//引入Vuex --引入store
import store  from './store';

//引入vue-router
import VueRouter from 'vue-router'

//引入路由器
import router from './router/index.js'

Vue.config.productionTip = false

//应用插件
Vue.use(ElementUI);

Vue.use(VueRouter)


new Vue({
  store,
  router:router,
  render: h => h(App),
}).$mount('#app')
